
#pragma once
#include "stdafx.h"
#include "learn/LearnShader.h"

class Colors : public LearnShader
{
public:
	Colors() = default;
	virtual ~Colors() = default;

public:
	virtual bool init();
	virtual void release();
	virtual void update(float dt);

protected:
	void updateLight(float dt);
	void updateBuffer(float dt);

protected:
	virtual void keyBoardRelease(int key, int modes);
	virtual void keyBoardPress(int key, int modes);

protected:
	ShaderProgramPtr m_pLamp;
	ShaderVertexPtr m_pLight;

	ShaderProgramPtr m_pProgram;
	ShaderVertexPtr m_pVertex;
	ShaderCameraPtr m_pCamera;
};

